credit2: Track expected load
authorKeir Fraser <keir@xen.org>
Fri, 24 Dec 2010 08:30:42 +0000 (08:30 +0000)
committerKeir Fraser <keir@xen.org>
Fri, 24 Dec 2010 08:30:42 +0000 (08:30 +0000)
commitb423d447aa2c29b88d927363657963cbc44f9482
tree7a3d9ad7b2820021b73add279a7a430a9612a3b5
parentf467b7d7032d3ac18e13a43ced3074fa802dc56c
credit2: Track expected load

As vcpus are migrated, track how we expect the load to change.  This
helps smooth migrations when the balancing doesn't take immediate
effect on the load average.  In theory, if vcpu activity remains
constant, then the measured avgload should converge to the balanced
avgload.

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
xen/common/sched_credit2.c